package com.leyou.item.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 品牌实体类
 */
@Table(name = "tb_brand")
@Data
public class Brand {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;                // 品牌 id
    private String name;            // 品牌名称
    private String image;           // LOGO 图片路径
    private Character letter;       // 品牌首字母
}
